package com.question;

public class Question1 {

    public  static  void main(String []args)
    {

        final DataProcess dataProcess=new DataProcess();
        new Thread(new Runnable() {
        public void run() {
            dataProcess.process(1);
            }
        }).start();

        new Thread(new Runnable() {
            public void run() {
                dataProcess.process(2);
            }
        }).start();

        new Thread(new Runnable() {
            public void run() {
                dataProcess.process(3);
            }
        }).start();

    }

}
